find . -type f -name "*.c" -exec realpath --relative-to=. {} \; > ./tmp/filelist_c.txt
sed -i 's/$/ \\/' ./tmp/filelist_c.txt

find . -type f -name "*.h" -exec realpath --relative-to=. {} \; > ./tmp/filelist_h.txt
sed -i 's/$/ \\/' ./tmp/filelist_h.txt

find . -type f -name "*.S" -exec realpath --relative-to=. {} \; > ./tmp/filelist_s.txt
find . -type f -name "*.s" -exec realpath --relative-to=. {} \; >> ./tmp/filelist_s.txt

find . -type f -name "*.ld" -exec realpath --relative-to=. {} \; > ./tmp/filelist_ld.txt

